package com.xiaocg.factory.dd.ab;

import com.xiaocg.factory.Coffee;

public class Store3 {
    public static void main(String[] args) {
        AmericanoCofferDessertFactory factory = new AmericanoCofferDessertFactory();
        Coffee coffer = factory.createCoffer();
        Dessert dessert = factory.createDessert();
        System.out.println(coffer.getName());
        dessert.show();
    }
}
